import { createApp } from 'vue'
import App from './App.vue'
import 'amfe-flexible';
import { Button , Icon, Tab, Tabs,TreeSelect,Stepper,
    ActionBarButton,ActionBarIcon,ActionBar,Toast, 
    Checkbox,CheckboxGroup,SubmitBar,ContactCard,Card,Dialog,AddressList,AddressEdit,
    Field,Form} from 'vant';
import router from '../src/router';
import '../src/common/css/base.less';
import store from './myStore'


const app=createApp(App);
app.use(router);
app.mount('#app');
app.use(Button)
   .use(Icon)
   .use(Tab)
   .use(Tabs)
   .use(TreeSelect)
   .use(Stepper)
   .use(ActionBarButton)
   .use(ActionBarIcon)
   .use(ActionBar)
   .use(Toast)
   .use(store)
   .use(Checkbox)
   .use(CheckboxGroup)
   .use(SubmitBar)
   .use(ContactCard)
   .use(Card)
   .use(Dialog)
   .use(AddressList)
   .use(AddressEdit)
   .use(Field)
   .use(Form);
